import java.util.Scanner;
public class Main {
public static void main(String []args){
	   
	    	Scanner sc=new Scanner(System.in);
	    	while(!sc.hasNext("#")) {
	    	String strings=sc.nextLine();
		char[] Array=strings.toCharArray();
	                int a=0;
		boolean b=false;
		for(int i=0;i<Array.length;i++)
		{
		if(Array[i]=='.')
	                                 a++;
		if(!Character.isDigit(Array[i])&&Array[i]!='.')
			 b=true;
		}
			
		if(b)
		   System.out.println("zfc");
		else if(a==0)
	                   System.out.println("整数");
		else if(a==1)
		   System.out.println("小数");
		else
	                   System.out.println("zfc");
			               
		 }
			

}
}